package com.yjt.admin.system.form.org;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 组织表
 * </p>
 *
 * @author zzp
 * @since 2021-10-09
 */
@Data
public class GroupOrgForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "集团id,新增不用传")
    private String orgId;

    @ApiModelProperty(value = "集团名称", example = "医建投")
    @NotBlank(message = "集团名称不能为空")
    private String orgName;

    @ApiModelProperty(value = "集团领导id集合")
    private List<String> orgLeaderIdList;

    @ApiModelProperty(value = "排序", example = "1")
    @NotNull(message = "排序")
    private Integer sort;

    @ApiModelProperty(value = "集团logo", example = "group1/M00/00/2D/rBoJJGFpMPiAD2WKAAAhp5rP-NA343.png")
    @NotBlank(message = "集团logo不能为空")
    private String orgLogo;

    @ApiModelProperty(value = "主题")
    private String subjeId;

    @ApiModelProperty(value = "logo文件id")
    private String fileId;

}
